dcc -c test_hip_kernel.cpp -o test_hip_kernel.o -fPIE --offload-arch=gfx936
flang -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx936 -c hip_wrapper.f90 -o hip_wrapper.o
flang -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx936 -c test_with_hip_omp.f90 -o test_with_hip_omp.o
flang -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx936 hip_wrapper.o test_with_hip_omp.o test_hip_kernel.o  -L${ROCM_PATH}/lib -lamdhip64 -o test_hip_omp_mixed_program
hipprof --omp-trace --hip-trace ./test_hip_omp_mixed_program
